namespace Maple.Branch.IdentityServer.Entities
{
    using System;
    using Volo.Abp.Domain.Entities.Auditing;

    public class DeviceFlowCode : CreationAuditedAggregateRoot<Guid>
    {
        public virtual string DeviceCode { get; set; }

        public virtual string UserCode { get; set; }

        public virtual string SubjectId { get; set; }

        public virtual string ClientId { get; set; }

        public virtual DateTime? Expiration { get; set; }

        public virtual string Data { get; set; }

        protected DeviceFlowCode()
        {
        }

        public DeviceFlowCode(Guid id)
        : base(id)
        {
        }
    }
}
